/**
 * 
 */
package com.keggview.application.xml.datatypes;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

//import org.dom4j.Element;

/**
 * The alt element specifies the alternative name of its parent element. The
 * attribute of this element is as follows.
 * 
 * @author Pablo
 * 
 */
@XStreamAlias("alt")
public class Alt extends Base {

	@XStreamAsAttribute
	String name;


	/**
	 * @param name
	 */
	public Alt(String name) {
		super();
		this.name = name;
		Registry.register(this);
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
}
